package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("call_user")
@ApiModel
public class CallUserEntity extends BaseEntity{
    @ApiModelProperty("护工名称")
    private String name;

    @ApiModelProperty("工号")
    private String employeeNo;

    @ApiModelProperty("性别 0 = 女 1 = 男")
    private Integer sex;

    @ApiModelProperty("人员类型")
    private String typeName;

    @ApiModelProperty("人员类型id")
    private String typeId;

    @ApiModelProperty("手环登录码")
    private String devicePassword;

    @ApiModelProperty("关联的设备mac地址")
    private String mac;

    @ApiModelProperty("人员状态")
    private Integer state;

    @ApiModelProperty("逻辑删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer delFlag;

    @ApiModelProperty("备注")
    private String remark;

}
